Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
자바에서 코틀린으로
by
덩컨 맥그레거
,
냇 프라이스
,
오현석
November 2022
Beginner to intermediate
544 pages
12h 39m
Korean
Hanbit Media, Inc.
Content preview from
자바에서 코틀린으로
256
자바에서 코틀린으로
.orElse(Double.NaN);
}
이런 과정을 거쳤다면 이번 장의 길이는 훨씬 더 짧아졌겠지만, 배우는 내용도 훨씬 더 줄어들
었을 것이다.
13.7
스트림에서 이터러블이나 시퀀스로 리팩터링하기
트래블레이터는 실행되면서 운영 이벤트를 로그로 남긴다. 따라서 코드가 예상대로 작동하는
지 확인할 수 있다. 로그는
JSON
형식으로 인덱싱 서버에 전달된며, 인덱싱 서버는 멋진 그래
프를 생성해 주고 자체 질의 언어를 통해 지정된 경고를 생성한다. 하지만 어째서인지 마케팅
팀의 멋진 양반들은 항상 우리가 질의를 작성할 수 없는 질문을 던지는 재주가 있다.
그런 경우 우리는 서버에서 이벤트를 얻어와서 로컬 컴퓨터에서 처리한다. 이벤트를 질의하
고 마셜링
marshalling
1
하고 페이징하는 과정은 간단한
EventStore
인터페이스 뒤에 감춰져 있
다.
EventStore
는
Iterator
<
Map
<
String
,
Object
>>
를 반환하며, 여기서
Map
<
String
,
Object
>
는
JSON
객체를 표현한다.
예제
13.1
[streams-to-sequences.0:src/main/java/travelator/analytics/EventStore.java]
public interface EventStore {
Iterator<Map<String, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
고성능 파이썬(2판)
오현석, 미샤 고렐릭, 이안 오스발트
러닝 타입스크립트
조시 골드버그
실리콘밸리 리더십
김정혜, 마이클 롭
머신러닝 시스템 설계
칩 후옌
Publisher Resources
ISBN: 9791169210447